# Ensure we require the local version and not one we might have installed already
require File.join([File.dirname(__FILE__),'lib','ctool','version.rb'])

spec = Gem::Specification.new do |s|
  s.name = 'ctool'
  s.version = Ctool::VERSION
  s.author = 'Fiend'
  s.email = '784767574@qq.com'
  s.homepage = 'https://www.jianshu.com/u/b85a12de9c84'
  s.platform = Gem::Platform::RUBY
  s.summary = 'A description of your project'
  s.files = `git ls-files`.split("")
#<< 'lib' << 'lib/Common' << 'lib/ctool'
  s.require_paths = ['lib',
    'lib/Common',
    'lib/ctool/config','lib/ctool/module']
  s.has_rdoc = true
  s.extra_rdoc_files = ['README.rdoc','ctool.rdoc']
  s.rdoc_options << '--title' << 'ctool' << '--main' << 'README.rdoc' << '-ri'
  s.bindir = 'bin'
  s.executables << 'ctool'

  s.add_development_dependency('rake')
  s.add_development_dependency('rdoc')
  s.add_development_dependency('aruba')
  s.add_runtime_dependency('gli','2.17.1')
end
